package cn.ulc.store.dao.sign;
import cn.ulc.common.constant.enums.AvailableStatus;
import cn.ulc.store.dao.BaseDao;

import cn.ulc.store.entity.sign.SignRecord;
import org.beetl.sql.core.annotatoin.SqlResource;

import java.util.List;

/*
* SignRecord
* gen by Jin mapper 2019-05-29
*/
@SqlResource("sign.signRecord")
public interface SignRecordDao extends BaseDao<SignRecord> {

    SignRecord findByDate(Long wxUserId,String date);

    List<SignRecord> findListByDate(Long wxUserId,String beginDate,String endDate);

    List<SignRecord> findListByStatus(Long wxUserId, AvailableStatus status);

}
